<form id="add-form" class="form-horizontal form-ajax" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label for="c-owner_user_id" class="control-label col-xs-12 col-sm-2">{:__('离职员工')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-leave_user_id"    data-source='facrm/common/selectpage/model/admin'  data-field="nickname" data-multiple="true" class="form-control selectpage" name="leave_user_id" type="text" value="" placeholder="选择">
            <span class="help-block checkbox">
                <label class="inline" >
                       <input type="checkbox" name="updateleave"  value="1" checked > 把员工账号改为离职</label>
            </span>
        </div>
    </div>


    <div class="form-group">
        <label for="c-owner_user_id" class="control-label col-xs-12 col-sm-2">{:__('接受资料员工')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-owner_user_id"  data-source="facrm/common/selectpage/model/admin" data-multiple="true"  data-field="nickname" class="form-control selectpage" name="owner_user_ids" type="text" value="{$auth->id}" placeholder="选择">
            <span class="help-block"></span>
        </div>
    </div>

    <div class="form-group">
        <label for="c-owner_user_id" class="control-label col-xs-12 col-sm-2">{:__('分配方式')}:</label>
        <div class="col-xs-12 col-sm-8">
            <select class="form-control selectpicker" data-rule="required" name="type" id="c-type">
                <option value="1">平均分配</option>
                <option value="2">随机分配</option>
            </select>
        </div>
    </div>


    <div class="form-group hidden layer-footer">
        <div class="col-xs-2"></div>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
